package com.bzkj.basicinfo.mapper.pick;

import com.bzkj.basicinfo.domain.pick.WmsPickTaskEntity;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;

public interface WmsPickTaskMapper {
    List<WmsPickTaskEntity> selectPickTaskList(WmsPickTaskEntity entity);
    WmsPickTaskEntity selectPickTaskById(@Param("id") Long id);
    int insertPickTask(WmsPickTaskEntity entity);
    int updatePickTask(WmsPickTaskEntity entity);
    int deletePickTaskById(@Param("id") Long id);
    int updateTaskStatus(@Param("id") Long id, @Param("taskStatus") String taskStatus);
    int updatePickedQuantity(@Param("id") Long id, @Param("pickedQuantity") BigDecimal pickedQuantity);
}
